package com.yupi.springbootinit.statemachine.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 任务VO
 */
@Data
@Schema(description = "任务信息")
public class TaskVO {
    
    @Schema(description = "任务ID")
    private Long taskId;
    
    @Schema(description = "任务类型")
    private String taskType;
    
    @Schema(description = "任务类型描述")
    private String taskTypeDesc;
    
    @Schema(description = "业务ID")
    private String businessId;
    
    @Schema(description = "所属部门")
    private String department;
    
    @Schema(description = "任务标题")
    private String title;
    
    @Schema(description = "任务描述")
    private String description;
    
    @Schema(description = "任务状态")
    private String status;
    
    @Schema(description = "任务状态描述")
    private String statusDesc;
    
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
    
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
    
    @Schema(description = "指派人")
    private String assignee;
    
    @Schema(description = "优先级")
    private Integer priority;
}